hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
HipGamutImageDecoder
hip
image
Undocumented in source.
version(HipGamutImageDecoder)
final
class
HipGamutImageDecoder : IHipAnyImageDecoder {
import
gamut
;
;
Image
img
;
string
path
;
this
(string path);
bool
startDecoding
(ubyte[] data, void delegate() onSuccess, void delegate() onFailure);
uint
getWidth
();
uint
getHeight
();
const
(
ubyte
[])
getPixels
();
ubyte
getBytesPerPixel
();
ubyte
[]
getPalette
();
void
dispose
();
}
Constructors
this
this
(string path)
Undocumented in source.
Members
Functions
dispose
void
dispose
()
Undocumented in source. Be warned that the author may not have intended to support it.
getBytesPerPixel
ubyte
getBytesPerPixel
()
Undocumented in source. Be warned that the author may not have intended to support it.
getHeight
uint
getHeight
()
Undocumented in source. Be warned that the author may not have intended to support it.
getPalette
ubyte
[]
getPalette
()
Paletted PNG, BMP, GIF, and PIC images are automatically depalettized.
getPixels
const
(
ubyte
[])
getPixels
()
Undocumented in source. Be warned that the author may not have intended to support it.
getWidth
uint
getWidth
()
Undocumented in source. Be warned that the author may not have intended to support it.
startDecoding
bool
startDecoding
(ubyte[] data, void delegate() onSuccess, void delegate() onFailure)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
img
Image
img
;
Undocumented in source.
path
string
path
;
Undocumented in source.
Meta
Source
See Implementation
hip
image
aliases
HipPlatformImageDecoder
classes
HipARSDImageDecoder
HipGamutImageDecoder
HipImageImpl
HipNullImageDecoder
HipWasmImageDecoder
functions
WasmDecodeImage
WasmImageDispose
WasmImageGetHeight
WasmImageGetPixels
WasmImageGetWidth
structs
BrowserImage
variables
bmp
jpeg
png
webP